//
//  BenefitPaperCell.m
//  LiveStar
//
//  Created by 漪珊 on 2017/4/19.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "BenefitPaperCell.h"
#import "BenefitModel.h"

@implementation BenefitPaperCell
- (void)awakeFromNib {
    [super awakeFromNib];
    kViewRadius(self.backView, 5);
    kViewRadius(self.noticeView, 5);
}

- (void)layoutSubviews {
}

- (void)setBenefitModel:(BenefitModel *)benefitModel {
    _benefitModel = benefitModel;
    self.redPrice.text = [NSString stringWithFormat:@"%@L币",KString(TC_PROTECT_STR(benefitModel.g_sponsor))];
    self.detailLabel.text = @"已存入你的账户";
    self.timeLabel.text = TC_PROTECT_STR(benefitModel.o_createtime);
    self.senderName.text = TC_PROTECT_STR(benefitModel.s_name);
    self.MsgTime.text = TC_PROTECT_STR(benefitModel.o_createtime);
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
